package com.joe.dev.springlearn.springmybatis.service;

import com.joe.dev.springlearn.springmybatis.dao.OrderMapper;
import com.joe.dev.springlearn.springmybatis.dao.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserService {

    @Autowired
    private UserMapper userMapper;

    @Autowired
    private OrderMapper orderMapper;

    public void test(){
        System.out.println(userMapper);
        System.out.println("----------");
        System.out.println(orderMapper);
    }
}
